package com.food.service;

import com.food.common.Result;
import com.food.dto.UserLoginDTO;
import com.food.dto.UserRegisterDTO;
import com.food.model.UserProfile;
import com.food.model.UserGoal;

public interface UserService {
    Result<?> register(UserRegisterDTO registerDTO);
    Result<?> login(UserLoginDTO loginDTO);
    Result<?> getProfile(Integer userId);
    Result<?> updateProfile(UserProfile profile);
    Result<?> setGoal(Integer userId, UserGoal goal);
    Result<?> getGoal(Integer userId);
    Result<?> updatePassword(Integer userId, String oldPassword, String newPassword);
    Result<?> resetPassword(String email);
    Result<?> verifyEmail(String email, String code);
    Result<?> sendVerificationCode(String email);
} 